package com.elong.android.specialhouse.entity;


import com.elong.infrastructure.entity.ElongTravelEntity;
import com.elong.infrastructure.entity.Group;

import java.io.Serializable;

public class ApartmentSearchDataInfo implements Serializable, ElongTravelEntity, ApartmentSearchDataInterface {
	/**
	 * @Fields: serialVersionUID
	 */
	private static final long serialVersionUID = 1L;

	private int iconResource;
	private String name;
	private Group<ApartmentSearchChildDataInfo> childDataInfos = new Group<ApartmentSearchChildDataInfo>();
	private boolean isSelect;
	private boolean supportElection = false;

	public boolean isSupportElection() {
		return supportElection;
	}

	public void setSupportElection(boolean supportElection) {
		this.supportElection = supportElection;
	}

	public boolean isSelect() {
		return isSelect;
	}

	public void setSelect(boolean isSelect) {
		this.isSelect = isSelect;
	}

	public int getIconResource() {
		return iconResource;
	}

	public void setIconResource(int iconResource) {
		this.iconResource = iconResource;
	}

	public void setName(String name) {
		this.name = name;
	}

	@Override
	public Group<ApartmentSearchChildDataInfo> getChildDataInfos() {
		return childDataInfos;
	}

	public void setChildDataInfos(Group<ApartmentSearchChildDataInfo> childDataInfos) {
		this.childDataInfos = childDataInfos;
	}

	@Override
	public String getName() {
		return name;
	}
}
